package osami.bundle;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import osami.communication.translate.RemoteCallMessage;
import osami.communication.translate.RemoteCallResponseMessage;

public interface OsamiBundle extends BundleActivator
{
	public void start( BundleContext aContext ) throws Exception;
	public void stop( BundleContext aContext ) throws Exception;

	/**
	 * Remote call
	 * 
	 * @param aMessage
	 * @return RemotCallResponseMessage
	 */
	public RemoteCallResponseMessage remoteServiceCall( RemoteCallMessage aMessage );
}
